package com.example.mapper;

import com.example.domain.Manager;
import org.apache.ibatis.annotations.Param;

public interface ManagerMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Manager record);

    int updateByPrimaryKey(Manager record);

    Manager selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
